﻿<%@ Page Language="vb" AutoEventWireup="false" Codebehind="CbHTFkSP_ExtendForm_CostTable.aspx.vb" Inherits="PubProject.CbHTFkSP_ExtendForm_CostTable" %>
<%@ Register TagPrefix="mnu" Namespace="Mysoft.Map.Application.Menus" Assembly="Mysoft.Map.Application.Components" %>
<%@ Register TagPrefix="cnt" Namespace="Mysoft.Map.Application.Controls" Assembly="Mysoft.Map.Application.Components" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>付款申请无项目合同部门费用列表</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<!-- Global -->
		<link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
		<script language="javascript" src="/_common/scripts/global.js"></script>
		<!-- Menu -->
		<link rel="stylesheet" type="text/css" href="/_nav/menu.css">
		<script language="javascript" src="/_nav/menu.js"></script>
		<!-- Grid -->
		<link rel="stylesheet" type="text/css" href="/_grid/map_grid.css">
		<!-- Form -->
		<link rel="stylesheet" type="text/css" href="/_forms/styles/form.css">
		<!-- Tab -->
		<link rel="stylesheet" type="text/css" href="/_nav/tabs.css">
		<!-- Utility-->
		<script language="javascript" src="/_controls/util/util.js"></script>
		<!-- Public -->
		<script language="javascript" src="/CBGL/JS/Public.js"></script>
		<script language="javascript">			
			//在线帮助文件
			var _MyHelpfile = "";

		    
			function openMyWin2(sPath, sName)
			{
				var iX = 500;
				var iY = 400;
				if (!sName) sName = "";var iL, iT;
				iL = (window.screen.width - iX)/2;
				iT = (window.screen.height - iY - 80)/2;
				if (iL < 0 ) iL = 0 ;	
				if (iT < 0 ) iT = 0 ;
				try
				{var x=window.open(sPath, sName, "left=" + iL + ",top=" + iT + ",width=" + iX + ",height=" + iY + ",status=1,resizable=1");x.focus();}
				catch(e) {}
			}
			
			//打开科目明细信息
			function openCostInfo(oid,strRefGUID)
			{
				if(parent.document.all("txtIsCanOpenCostInfo").value == "0")
			    {
			        alert("您无权限查看预算详细信息！");
			        return;
			    }		
			    
		        var arrTr = document.all("appGrid").getSelected();
		        if(!arrTr) return;

				if(oid == "00000000-0000-0000-0000-000000000000") return;
				
				var sName = "科目明细";		 		
				var sUrl = "/PubProject/workflow/cbgl/ExpenseApprove_CostInfo.aspx?oid="+strRefGUID+"&mode=3";
						
				openMyWin2(sUrl,sName);
			}
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">		
		<table style="FONT-SIZE: 9pt" height="100%" cellSpacing="0" cellPadding="0" width="100%">
			<tr>
				<td valign="top">
					<cnt:AppGrid id="appGrid" runat="server" MultiSelect="false" AllowPaging="false" Filter="<filter/>" />
				</td>
			</tr>
		</table>
	</body>
</HTML>
